package com.dcits.idea.data;

import javax.swing.table.DefaultTableModel;
import java.util.LinkedList;
import java.util.List;

/**
 * @Author tangmqb DCITS
 * @DATE 2021/11/3 16:46
 * @Version 1.0.0
 */
public class DataCenter {
    public static String SELECTED_TEXT = null;
    public static String CURRENT_FILE_NAME = null;
    public static String CURRENT_FILE_TYPE = null;
    public static List<NodeData> NOTE_LIST = new LinkedList<>();
    public static String[] COLUMN_NAME = {"标题", "备注",  "代码段","文件名","文件类型"};
    public static DefaultTableModel TABLE_MODEL = new DefaultTableModel(null, COLUMN_NAME);

    public static void reset() {
        TABLE_MODEL.setDataVector(null,COLUMN_NAME);
    }
}
